home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / INCLUDES / I3DSHSEL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-11  |  1.7 KB  |  44 lines

  1. /* $Id: I3DShSel.H 1.1 1997/05/02 22:39:35 damien Exp $ */
  2. /*****************************************************************************\
  3. *                                                                             *
  4. * I3DShSel.h                                                                                *
  5. *   I3DShSelection efinition                                                  *
  6. *                                                                             *
  7. *           Copyright (c) 1995-97, Fractal Design Corp. All rights reserved.  *
  8. *                                                                             *
  9. \*****************************************************************************/
  10.  
  11. #ifndef __I3DSHSEL__
  12. #define __I3DSHSEL__
  13.  
  14. #ifndef __3DBSTYPE__
  15. #include "3DBSType.h"
  16. #endif
  17.  
  18. #ifndef _COMPOBJ_H_
  19. #include "RCompObj.h"
  20. #endif
  21.  
  22. //struct I3DShTreeElement;
  23.  
  24. // {C52322C0-C254-11d0-94E5-0000C0E44587}
  25. DEFINE_GUID(IID_I3DShSelection, 0xc52322c0L, 0xc254, 0x11d0, 0x94, 0xe5, 0x0, 0x0, 0xc0, 0xe4, 0x45, 0x87);
  26.  
  27. struct IShIterator;
  28.  
  29. #undef  INTERFACE
  30. #define INTERFACE   I3DShSelection
  31.  
  32. DECLARE_INTERFACE_(I3DShSelection, IUnknown) {
  33.     //-- IUnknown methods
  34.   STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE;
  35.   STDMETHOD_(ULONG, AddRef) (THIS) PURE;
  36.   STDMETHOD_(ULONG, Release) (THIS) PURE;
  37.     //-- I3DShSelection
  38.     STDMETHOD(Select)(THIS_ I3DShTreeElement* tree) PURE;
  39.     STDMETHOD(Deselect)(THIS_ I3DShTreeElement* tree) PURE;
  40.     STDMETHOD(DeselectAll)(THIS) PURE;
  41.     STDMETHOD(GetSelection) (THIS_ I3DShTreeElement*** trees, int* number) PURE; // return an array of pointers, all the tree elements must be released after use
  42.     };
  43.  
  44. #endif